<template>
  <div id="grade" class="container">
        <table class="table table-bordered">
            <thead>
                <tr>
                    <th>序号</th>
                    <th>名称</th>
                    <th>价格</th>
                    <th>上映时间</th>
                </tr>
            </thead>
            <tbody>
                <tr v-for="(item,index) in person" :key="index" :class="[item.score>=90?'a':'']">
                    <td>{{index+1}}</td>
                    <td>{{item.name}}</td>
                    <td>{{item.price|filterPrice}}</td>
                    <td>{{item.time|filterTime}}</td>
                </tr>
            </tbody>
        </table>
    </div>
</template>

<script>

export default {
  components: {

  },
  data () {
    return {
      person: [
                {
                    id: 1,
                    name: '姜子牙',
                    price: 30.00,
                    time: 1607928388132
                },
                {
                    id: 2,
                    name: '我和我的祖国',
                    price: 45.00,
                    time: 1307928388132
                },
                {
                    id: 3,
                    name: '我和我的家乡',
                    price: 32.10,
                    time: 1407928388132
                }
            ]
    }
  }
}
</script>

<style>

</style>
